#pragma once

#include "AdviceBase.h"

template < class TPointcut, int _priority = 1000 >
class CAdvice: public CAdviceBase
{
private:
	TPointcut pointcut;
public:
	CAdvice()
		:pointcut(),CAdviceBase(&pointcut,_priority)
	{
	}
	CAdvice(TPointcut _pointcut)
		:pointcut(_pointcut),CAdviceBase(&pointcut,_priority)
	{
	}
};
